package com.naizhuai.ui.user;

import java.io.Serializable;

/**
 * @author：lichenxi
 * @date 2018/2/28 15
 * email：525603977@qq.com
 * Fighting
 */
public class UserInfo implements Serializable{


    /**
     * ret : true
     * res : {"source":{"uid":"616540685","username":"小明123","truename":"小小明","phone":"13113699804","companyId":"","companyName":"","thumb":"","isJoinedCompany":"0","departmentName":"","departmentId":""}}
     * nonce : 1519803925
     * sid :
     */

    private boolean ret;
    private ResBean res;
    private int nonce;
    private String sid;

    public boolean isRet() {
        return ret;
    }

    public void setRet(boolean ret) {
        this.ret = ret;
    }

    public ResBean getRes() {
        return res;
    }

    public void setRes(ResBean res) {
        this.res = res;
    }

    public int getNonce() {
        return nonce;
    }

    public void setNonce(int nonce) {
        this.nonce = nonce;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public static class ResBean implements Serializable{
        /**
         * source : {"uid":"616540685","username":"小明123","truename":"小小明","phone":"13113699804","companyId":"","companyName":"","thumb":"","isJoinedCompany":"0","departmentName":"","departmentId":""}
         */

        private SourceBean source;

        public SourceBean getSource() {
            return source;
        }

        public void setSource(SourceBean source) {
            this.source = source;
        }

        public static class SourceBean implements Serializable{
            /**
             * uid : 616540685
             * username : 小明123
             * truename : 小小明
             * phone : 13113699804
             * companyId :
             * companyName :
             * thumb :
             * isJoinedCompany : 0
             * departmentName :
             * departmentId :
             */

            private String uid;
            private String username;
            private String truename;
            private String phone;
            private String companyId;
            private String companyName;
            private String thumb;
            private String isJoinedCompany;
            private String departmentName;
            private String departmentId;

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getTruename() {
                return truename;
            }

            public void setTruename(String truename) {
                this.truename = truename;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getCompanyId() {
                return companyId;
            }

            public void setCompanyId(String companyId) {
                this.companyId = companyId;
            }

            public String getCompanyName() {
                return companyName;
            }

            public void setCompanyName(String companyName) {
                this.companyName = companyName;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getIsJoinedCompany() {
                return isJoinedCompany;
            }

            public void setIsJoinedCompany(String isJoinedCompany) {
                this.isJoinedCompany = isJoinedCompany;
            }

            public String getDepartmentName() {
                return departmentName;
            }

            public void setDepartmentName(String departmentName) {
                this.departmentName = departmentName;
            }

            public String getDepartmentId() {
                return departmentId;
            }

            public void setDepartmentId(String departmentId) {
                this.departmentId = departmentId;
            }
        }
    }
}
